package com.mspbots.attendance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.attendance.model.TenantUserConfiguration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper
 * </p>
 *
 * @author Jun Zhou
 * @since 2019-06-24
 */
@Mapper
public interface TenantUserConfigMapper extends BaseMapper<TenantUserConfiguration> {

    /**
     * 获取keyword为work_time状态的数据-分页
     *
     * @param page
     * @param query
     * @return
     */
    List<TenantUserConfiguration> workTimePage(Page<TenantUserConfiguration> page, @Param("query") TenantUserConfiguration query);
}
